<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
	<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>Lesser &mdash; Free HTML5 Bootstrap Website Template by FreeHTML5.co</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="description" content="Free HTML5 Website Template by FreeHTML5.co" />
	<meta name="keywords" content="free html5, free template, free bootstrap, free website template, html5, css3, mobile first, responsive" />
	

  

  	<!-- Facebook and Twitter integration -->
	<meta property="og:title" content=""/>
	<meta property="og:image" content=""/>
	<meta property="og:url" content=""/>
	<meta property="og:site_name" content=""/>
	<meta property="og:description" content=""/>
	<meta name="twitter:title" content="" />
	<meta name="twitter:image" content="" />
	<meta name="twitter:url" content="" />
	<meta name="twitter:card" content="" />

	<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
	<link rel="shortcut icon" href="favicon.ico">
	
	<!-- Animate.css -->
	<!-- <link rel="stylesheet" href="css/animate.css"> -->
	<!-- Icomoon Icon Fonts-->
	<!-- <link rel="stylesheet" href="css/icomoon.css"> -->
	<!-- Simple Line Icons -->
	<!-- <link rel="stylesheet" href="css/simple-line-icons.css"> -->
	<!-- Bootstrap  -->
	<link rel="stylesheet" href="css/bootstrap.css">
	<!-- Theme style  -->
	<link rel="stylesheet" href="css/style.css">
	<!-- Pager style  -->
	<link rel="stylesheet" href="css/page/pager.css">

	<!-- Modernizr JS -->
	<script src="js/modernizr-2.6.2.min.js"></script>
	<script src="js/jquery.min.js"></script>

	<!-- FOR IE9 below -->
	<!--[if lt IE 9]>
	<script src="js/respond.min.js"></script>
	<![endif]-->
	<script src="./model/vue.js"></script>
	</head>
	<body>

	<div id="fh5co-page">
	<header id="fh5co-header" role="banner">
		<div class="container">
			<div class="header-inner">
				<h1><a href="index.html">Yeoman&nbsp;|&nbsp;PHP+Go</a></h1>
				<nav role="navigation">
					<ul>
						<!-- <li><a class="active" href="index.html">首页</a></li>
						<li><a href="list.html?id=1">列表</a></li>
						<li><a href="about.html">关于我</a></li> -->
						
					</ul>
				</nav>
			</div>
		</div>
	</header>
	<div id="fh5co-about-section">
		<div class="container" id="app">
			<div class="row" >
				<div   class="col-md-8" >
			
					<div class="row" v-for="article in artList" v-if="artList.length > 0">
						<div class="col-md-12">
							<div class="about-inner">
								<h3><a :href="'detail.html?id='+ article.Id">{{ article.Title }}</a></h3>
								<p>{{ article.Intro }} </p>
								
							</div>
						</div>
					</div>
				</div>
				<div class="col-md-4">
					<aside class="sidebar">
						<div class="row">
							<div class="col-md-12 side" v-if="typeList.length > 0">
								<h3>文章分类</h3>
								<ul>
									<li v-for="row in typeList" v-if="typeList.length > 0"><a :href="'list.html?id='+row.id">{{ row.name }}&nbsp;({{ row.total }})</a></li>
								</ul>
							</div>
						</div>
						<div class="row">
							<div class="col-md-12 side">
								<h3>热门文章</h3>
								<ul>
									<li v-for="row in hotList" v-if="hotList.length > 0"><a :href="'detail.html?id='+row.Id">{{ row.Title }}</a></li>
								</ul>
							</div>
						</div>
					</aside>
				</div>
			</div>
			<div class="page-bar" v-if="all>0">
			    <ul>
			        <li v-if="cur>1"><a v-on:click="cur--,pageClick()">上一页</a></li>
			        <li v-if="cur==1"><a class="banclick">上一页</a></li>
			        <li v-for="index in indexs"  v-bind:class="{ 'active': cur == index}">
			            <a v-on:click="btnClick(index)">{{ index }}</a>
			        </li>
			        <li v-if="cur!=all"><a v-on:click="cur++,pageClick()">下一页</a></li>
			        <li v-if="cur == all"><a class="banclick">下一页</a></li>
			        <li><a>共<i>{{all}}</i>页</a></li>
			    </ul>
			</div>
		</div>
	</div>
	
	<footer id="fh5co-footer" role="">
		<div class="container">	
			<div class="col-md-12 fh5co-copyright text-center">
				<p>&copy; 2017 Yeoman.vip. All Rights Reserved.</p>	
			</div>
		</div>
	</footer>
	</div>
	
	
	<!-- jQuery -->
	<script src="js/jquery.min.js"></script>
	<!-- jQuery Easing -->
	<!-- <script src="js/jquery.easing.1.3.js"></script> -->
	<!-- Bootstrap -->
	<script src="js/bootstrap.min.js"></script>
	<!-- Waypoints -->
	<!-- <script src="js/jquery.waypoints.min.js"></script> -->
	<!-- MAIN JS -->
	<!-- <script src="js/main.js"></script> -->
	<script src="js/page/config.js"></script>
	<script src="js/page/index.js"></script>
	
	</body>
</html>

